/*
mixins的实例类型是什么？
很简单，mixins的类型就是其超类的子类型。
*/

class A {
  String info="this is A";
  void printA(){
    print("A");
  }
  void run() {
    print('A run');
  }
}

class B {
  void printB(){
    print("B");
  }
  void run() {
    print('B run');
  }
}

class C with A,B{
  
}

main(){
  var c = new C();
  print(c is A); //true
  print(c is B); //true

  var a = new A();
  print(a is Object); //true
}